<%@page pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE html>
<html lang="UTF-8">
  <head>
    <%@include file="/WEB-INF/jsp/common/head.jsp" %>
    <link rel="stylesheet" href="${APP_PATH}/css/main.css">
    <link rel="stylesheet" href="${APP_PATH}/ztree/zTreeStyle.css">
	<link rel="stylesheet" href="${APP_PATH}/css/pagination.css">
	<link rel="stylesheet" href="${APP_PATH}/css/hao.css">
	<style>
	.tree li {
        list-style-type: none;
		cursor:pointer;
	}
	
	table tbody tr:nth-child(odd){background:#F4F4F4;}
	table tbody td:nth-child(even){color:#C00;}
	.heise{
	width:330px;
	height: 49px;
	background:#101010;
	}
	a{
	 color: #aaa;
	}
	.heise a:hover{
	color:white;
	}
	.navbar-brand{
	padding-left: 23px;
	}
	.er li a{
	 display: block;
       padding: 10px 10px 10px 50px;
        color: white;
        font-size: 15px;
        
	}
	
	</style>
  </head>

  <body >

  
 
    <div class="container-fluid">
    
    
      <div class="row">
    
      
       
         <ul class="ce hao" style="margin-top:0px;">
     <div class="heise"><a class="navbar-brand" style="font-size:32px;" href="#">游戏运营平台</a></div>
        <c:if test="${not empty smenu }">

            <c:forEach items="${smenu}" var="menu" varStatus="status">

                <li>

                    <c:if test="${not empty menu.children}">

                        <a href="#">

                            <img class="more" src="${APP_PATH}/images/more1.png" /> ${menu.name}



                        </a>



                        <ul class="er" >

                            <c:forEach items="${menu.children}" var="childmenu">

                                <li class="e_li">

                                    <c:if test="${not empty childmenu.children}">

                                        <li>

                                            <a href="#">

                                                <img class="more" src="${APP_PATH}/images/more1.png" /> ${childmenu.name}

                                            </a>



                                            <ul class="thr ">

                                                <c:forEach items="${childmenu.children}" var="grandchildmenu">

                                                    <li>

                                                        <a href="${APP_PATH}/${grandchildmenu.url}" target="show">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;${grandchildmenu.name}</a>



                                                    </li>

                                                </c:forEach>

                                            </ul>

                                        </li>

                                    </c:if>

                                    <c:if test="${empty childmenu.children}">

                                        <a href="${APP_PATH}/${childmenu.url}" target="show">

                                            ${childmenu.name}</a>

                                    </c:if>

                                </li>

                            </c:forEach>

                        </ul>

                    </c:if>

                    <c:if test="${empty menu.children }">

                        <a href="${APP_PATH}/${menu.url}" target="show">

                           ${menu.name}</a>

                    </c:if>

                </li>

            </c:forEach>

        </c:if>

        <c:if test="${empty smenu }">

            <a href="#">

               ${smenu.name}</a>

        </c:if>

        <div class="clear"></div>

    </ul>
        
       
      </div>
    </div>

    <%@include file="/WEB-INF/jsp/common/script.jsp" %>
    <script src="${APP_PATH}/ztree/jquery.ztree.all-3.5.min.js"></script>
    <script src="${APP_PATH}/script/docs.min.js"></script>
	<script src="${APP_PATH}/jquery/jquery.pagination.js"></script>
	<script src="${APP_PATH}/js/layer/layer.js"></script>
	<script src="${APP_PATH}/js/main.js"></script>
   
  </body>
</html>
